package cn.autumnorange.authorization.security.security;

/**
 * Created on 2018/1/4.
 *
 * @author zlf
 * @since 1.0
 */
public interface SecurityConstants {
  String FAVICON_ICO = "/favicon.ico";
  /** 默认的处理验证码的url前缀 */
  String DEFAULT_VALIDATE_CODE_URL_PREFIX = "/code";

  /** 当请求需要身份验证时跳转URL */
  String DEFAULT_UNAUTHENTICATION_URL = "/authentication/require";

  /** 默认的用户名密码登录请求处理url */
  String DEFAULT_SIGN_IN_PROCESSING_URL_FORM = "/authentication/form";

  /** 默认的手机验证码登录请求处理url */
  String DEFAULT_SIGN_IN_PROCESSING_URL_MOBILE = "/authentication/mobile";

  /** 默认的手机验证码登录请求处理url */
  String DEFAULT_SIGN_IN_URL_MOBILE_PAGE = "/authentication/mobilePage";

  /** 默认的用户注册请求处理url */
  String DEFAULT_REGISTER_URL = "/authentication/register";

  /** weixin appID */
  String DEFAULT_SOCIAL_WEIXIN_APP_ID = "wx79c967ee2a1ed26e";

  /** weixin appsECRET */
  String DEFAULT_SOCIAL_WEIXIN_APP_SECRET = "1529b50b8dc41ac5cfd6e70ec9b338b9";
  /** WECHATMP */
  String DEFAULT_SOCIAL_WECHATMP_APP_ID = "wx0ce90cbf4e8047dc";

  /** WECHATMP appsECRET */
  String DEFAULT_SOCIAL_WECHATMP_APP_SECRET = "48e2d82633da39dcef2cc48fb56cb3e9";
  /** qq appID */
  String DEFAULT_SOCIAL_QQ_APP_ID = "101448999";

  /** qq appsECRET */
  String DEFAULT_SOCIAL_QQ_APP_SECRET = "1d958787a87559bad371c0a9e26eef61";

  /** weibo appID */
  String DEFAULT_SOCIAL_WEIBO_APP_ID = "491608476";

  /** weibo appsECRET */
  String DEFAULT_SOCIAL_WEIBO_APP_SECRET = "b2dd0d4199ddc9d64e75d9dd6007ca82";

  /** 自定义社交social拦截地址 默认/auth (SocialAuthenticationFilter) */
  String DEFAULT_SOCIAL_PROCESS_URL = "/login";

  /** 提供商的ID */
  String DEFAULT_SOCIAL_QQ_PROVIDER_ID = "qq";
  /** 提供商的ID */
  String DEFAULT_SOCIAL_WEIXIN_PROVIDER_ID = "weixin";

  String DEFAULT_SOCIAL_WECHATMP_PROVIDER_ID = "wechatmp";

  /** 默认的主页测 */
  String DEFAULT_SIGNUP_URL = "/register";

  /** 验证图片验证码时，http请求中默认的携带图片验证码信息的参数的名称 */
  String DEFAULT_PARAMETER_NAME_CODE_IMAGE = "imageCode";

  /** 验证短信验证码时，http请求中默认的携带短信验证码信息的参数的名称 */
  String DEFAULT_PARAMETER_NAME_CODE_SMS = "smsCode";
  /** 发送短信验证码 或 验证短信验证码时，传递手机号的参数的名称 */
  String DEFAULT_PARAMETER_NAME_MOBILE = "mobile";

  /** session失效默认的跳转地址 */
  String DEFAULT_SESSION_INVALID_URL = "/merryyou-session-invalid.html";

  /** 默认用户密码 */
  String DEFAULT_PASSWORD = "123456";

  String VIDEONOTROLEURL = "/video/**/addUserVideoClickPraise";
  String OSSCALLBACK = "/sysOss/**/callback";
  String STATICRESOURCES = "/static/**";
}
